class Ball:
    def __init__(self, color, size, direction):
        self.color = color
        self.size = size
        self.direction = direction



    def bounce(self):
        if self.direction == "down":
            self.direction = "up"


    def __str__(self):
        return "" + self.color + "," + self.size + "," + self.direction

